//
//  CommonTableViewCell.h
//  pushNews
//
//  Created by Jobs on 3/16/17.
//  Copyright © 2017 Iori. All rights reserved.
//

#import "IoriTableViewCell.h"
#import "NewsEntity.h"

typedef NS_ENUM(NSUInteger, NewsTypeEnum) {
    NewsTypeEnum1Pic,
    NewsTypeEnum4Pic,
    NewsTypeEnumAD1Pic,
    NewsTypeEnumAD4Pic
};

@interface CommonTableViewCell : IoriTableViewCell

//@property (weak, nonatomic) NewsInfo *newsInfo;
@property (assign, nonatomic) NSInteger approvingOrApproved;
@property (weak, nonatomic) IBOutlet UIView *innerContentView;
@property (weak, nonatomic) IBOutlet UILabel *labTitle;
@property (weak, nonatomic) IBOutlet UIImageView *imagePic01;
@property (weak, nonatomic) IBOutlet UIImageView *imagePic02;
@property (weak, nonatomic) IBOutlet UIImageView *imagePic03;
@property (weak, nonatomic) IBOutlet UIImageView *imagePic04;

@property (weak, nonatomic) IBOutlet UIImageView *imageHead;
@property (weak, nonatomic) IBOutlet UILabel *labName;
@property (weak, nonatomic) IBOutlet UILabel *labNewsTypeWriteOrRecomm;
@property (weak, nonatomic) IBOutlet UILabel *labBoutique;
@property (weak, nonatomic) IBOutlet UILabel *labTag01;
@property (weak, nonatomic) IBOutlet UILabel *labTag02;
@property (weak, nonatomic) IBOutlet UILabel *labComment;
@property (weak, nonatomic) IBOutlet UIButton *btnName;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *pic01_width;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *labRightMargin;
@property (weak, nonatomic) IBOutlet UILabel *labVote;


-(void)updateContent:(NewsEntity*)news;
//- (IBAction)btnName_click:(UIButton *)sender;

@end
